@import '~@/scss/GlobalVariables';

.domain-sale-container {
  border-radius: 5px;
  grid-area: main;
  overflow: hidden;

  >div {
    background-color: $background-color-white;
  }

  .content-title {
    align-items: center;
    background-color: $background-color-white;
    border-bottom: 2px solid $background-color-1;
    display: flex;
    padding: 20px 25px;

    i {
      color: $text-black;
      font-size: 30px;
      margin-right: 10px;
    }

    p {
      color: $text-black;
      font-weight: 500;
    }

    h2 {
      border-left: 5px solid $background-color-2;
      font-size: 24px;
      font-weight: 500;
      line-height: 37px;
      margin: 0;
      padding: 0;
      padding-left: 27px;
    }

    img {
      height: 40px;
      margin-left: auto;
      margin-right: 30px;
    }
  }

  .bottom-text {
    text-align: center;
  }

  .submit-button {
    margin: 0 auto;
    text-align: center;
    width: 300px;
  }

  .send-form {
    padding: 40px 60px 0;

    .title-container {
      align-items: flex-end;
      display: flex;
      margin-bottom: 10px;

      .title {
        padding: 0 8px;

        h4 {
          margin-bottom: 10px;
        }
      }

      .buttons {
        margin-bottom: 3px;
        margin-left: auto;
      }
    }

    .form-block {
      border-radius: 5px;

      .the-form {
        background-color: $background-color-1;
        border-radius: 5px;
      }
    }

    .amount-to-address {
      display: grid;
      grid-column-gap: 5px;
      grid-template-columns: 1fr 70px 1fr;

      .title {
        margin-bottom: 13px;
        padding: 0 8px;
      }

      .exchange-icon {
        color: $text-color-9;
        font-size: 30px;
        padding-top: 62px;
        text-align: center;
      }

      .amount {
        .dropdown-select-search-1 {
          background-color: $background-color-1;
          margin-bottom: 5px;
          position: relative;

          i {
            color: $text-color-2;
            left: 14px;
            position: absolute;
            top: 16px;
          }
        }

        .amount-number {
          position: relative;

          input {
            background-color: transparent;
            border: 0;
            padding: 13px 15px;
            width: 100%;
          }

          i {
            position: absolute;
            right: 13px;
            top: 13px;
          }
        }
      }

      .to-address {
        position: relative;

        .title {
          align-items: center;
          display: flex;
          position: relative;

          img {
            height: 50px;
            left: 98px;
            position: absolute;
            top: -14px;
          }

          .copy-button {
            color: $text--link-color;
            cursor: pointer;
            margin-left: auto;
          }
        }

        .address-block {
          height: 98px;

          i {
            bottom: 13px;
            position: absolute;
            right: 13px;
          }

          textarea {
            background-color: transparent;
            border: 0;
            height: 100%;
            padding: 13px 15px;
            resize: none;
            width: 100%;
          }
        }
      }
    }

    .domain-name {
      align-items: center;
      display: flex;
      position: relative;

      input {
        background-color: $background-color-1;
        border: 0;
        margin-right: 20px;
        padding: 13px 15px;
        width: 100%;
      }

      span {
        font-size: 20px;
        font-weight: 600;
      }
    }

    .error-message-container {
      p {
        color: $text-color-red;
        margin: 7px 0 0 15px;
      }
    }
  } // .send-form

  .advanced {
    padding-top: 10px;

    .advanced-content {
      border-bottom: 2px solid $background-color-1;
      border-top: 2px solid $background-color-1;
      display: flex;
      padding: 0 8px;
      padding-bottom: 20px;
      padding-top: 20px;

      .toggle-button {
        align-items: center;
        display: flex;
        margin-left: auto;

        >span {
          margin-right: 15px;
        }
      }
    }
  } // .advanced

  .submit-button-container {
    padding: 40px 60px;

    .flex-container {
      border-bottom: 2px solid $background-color-1;
      border-top: 2px solid $background-color-1;
      margin-bottom: 40px;
      margin-top: 40px;
      padding: 20px 0;

      .title-container {
        display: flex;

        .margin-left-auto {
          margin-left: auto;
        }
      }

      .domain-check-form {
        margin-top: 30px;

        .domain-checker {
          display: flex;

          input {
            background-color: $background-color-1;
            border: 0;
            border-radius: 5px 0 0 5px;
            // margin-right: 20px;
            padding: 13px 15px;
            width: 100%;
          }

          .check-button {
            background-color: $button-background-color-1;
            border-radius: 0 5px 5px 0;
            color: $text-white;
            cursor: pointer;
            font-weight: 500;
            padding: 13px 40px;
          }
        }
      }

    } // .flex-container

  } // .submit-button-container
}

.back-container {
  cursor: pointer;
}
